package com.xian.minetomcat.simpledemo.day3.mapping;

import jakarta.servlet.Servlet;

/**
 * servlet映射关系
 */
public class ServletMapping extends AbstractMapping {
    public final Servlet servlet; // 路径对应的servlet

    public ServletMapping(String urlPattern, Servlet servlet) {
        super(urlPattern);
        this.servlet = servlet;
    }
}
